package com.settlement.system.service;

import com.settlement.system.common.exception.ServiceException;
import com.settlement.system.model.entity.common.WpSummary;

import java.util.List;
import java.util.Map;

/**
 * 唯品汇总服务
 * @author user
 */
public interface IWpSummaryService extends IBaseService {

    /**
     * 获取底部汇总
     * @param params
     * @return
     * @throws ServiceException
     */
    public WpSummary selectFoot(Map<String,Object> params) throws ServiceException;

    /**
     * 更新状态
     * @param summary
     * @throws ServiceException
     */
    public void updateProcessStatus(WpSummary summary) throws ServiceException;

    /**
     * 签收
     * @param summary
     * @return
     * @throws ServiceException
     */
    public String sign(WpSummary summary) throws ServiceException;

    String doDelete(Map<String,Object> params) throws ServiceException;

    /**
     * 下载数据
     * @param vendorCodes
     * @throws ServiceException
     */
    public void download(List<String> vendorCodes) throws ServiceException;

}
